package net.yambal.RTM.Event
{
	import flash.events.Event;
	
	import net.yambal.RTM.Items.RTMTransaction;

	public class NoteEvent extends Event
	{
		
		public static const ADD:String = "add_note";
		public static const EDIT:String = "edit_note";
		public static const DELETE:String = "delete_note";
		
		public var notes:Array;
		public var transaction:RTMTransaction;
		
		public function NoteEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false, notes:Array = null, transaction:RTMTransaction = null)
		{
			super(type, bubbles, cancelable);
			
			this.notes = notes;
			this.transaction = transaction;
		}
		
	}
}